<?php
$config =  array (
);

$env = 'pro';
if (!empty($env))
{
    $path = \think\facade\App::getRootPath() .'config/'.$env.'/message.php';

    if (file_exists($path)) {
        $env_config = require_once $path;
        $config2 = array_merge($config, $env_config);
        $config2['upload_config'] = array_merge($config['upload_config'], $env_config['upload_config']);
        $config = $config2;
    }
}

return $config;